package pers.linkong.asr.domain;

import pers.linkong.asr.util.TimeKit;


public class CourseBean {
	private int cid;
	private String cname;
	private String major;
	private String tname;
	private String sclass;
	private String xueyuan;
	private java.sql.Timestamp createdate;
	private java.sql.Timestamp startdate;
	private int weeksum;
	private String createdateStr;
	private String startdateStr;
	private int csnum;
	private String state;
	
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public String getSclass() {
		return sclass;
	}
	public void setSclass(String sclass) {
		this.sclass = sclass;
	}
	public java.sql.Timestamp getCreatedate() {
		return createdate;
	}
	public void setCreatedate(java.sql.Timestamp createdate) {
		this.createdate = createdate;
		this.createdateStr = TimeKit.TSFormatYMDHMS(createdate);
	}
	public java.sql.Timestamp getStartdate() {
		return startdate;
	}
	public void setStartdate(java.sql.Timestamp startdate) {
		this.startdate = startdate;
		this.startdateStr = TimeKit.TSFormatYMD(startdate);
	}
	public int getWeeksum() {
		return weeksum;
	}
	public void setWeeksum(int weeksum) {
		this.weeksum = weeksum;
	}
	public String getCreatedateStr() {
		return createdateStr;
	}
	public void setCreatedateStr(String createdateStr) {
		this.createdateStr = createdateStr;
	}
	public String getStartdateStr() {
		return startdateStr;
	}
	public void setStartdateStr(String startdateStr) {
		this.startdateStr = startdateStr;
	}
	public String getXueyuan() {
		return xueyuan;
	}
	public void setXueyuan(String xueyuan) {
		this.xueyuan = xueyuan;
	}
	public int getCsnum() {
		return csnum;
	}
	public void setCsnum(int csnum) {
		this.csnum = csnum;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	
}
